<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>单元格</title>
</head>
<body>
   <!-- border:边框的粗细
        cellspacing:单元格间距和单元格外边框的距离
        cellpadding:单元格的大小(单元格的内边距)
                                                          -->
	<table border="1" cellspacing="0" cellpadding="10" width="10%">
		<tr>  <!--table row   行  -->
		   <td>1-1</td>  <!--table data  列 -->
		   <td>1-2</td>
	    </tr>
		<tr>
		   <td>2-1</td>
		   <td>2-2</td>
		</tr>
		<tr>
		   <td>3-1</td>
		   <td>3-2</td>
		</tr>
		
	</table>
	<hr>
	<!--colspan: 跨列 rowspan:跨行  -->
	<table border="1" cellspacing="0">
		<tr>
			<td colspan="2" align="center">1-1</td>
	        <!--<td>1-2</td>  -->
			<td>1-3</td>
		</tr>
		<tr>
			<td rowspan="2">2-1</td>
			<td>2-2</td>
			<td>2-3</td>
		</tr>
		<tr>
		<!-- 	<td>3-1</td> -->
			<td>3-2</td>
			<td>3-3</td>
		</tr>
	</table>
</body>
</html>